#pragma once

#define WM_LOGGER				(WM_APP+1)
#define WM_RX_DATA				(WM_APP+2)
#define WM_TASK_DONE			(WM_APP+3)
#define WM_CLEAN_BEFORE_QUIT	(WM_APP+4)

#define WM_UPDATE_CANVAS		(WM_APP+5)
#define WM_DESTORY_PLOT			(WM_APP+6)
#define WM_SHOW_WINDOW			(WM_APP+7)
#define WM_NEW_DUMP_DATA		(WM_APP+8)

#define WM_UPDATE_UI			(WM_APP+9)
#define WM_RECONFIG_UI			(WM_APP+10)
#define WM_UPDATE_DATA			(WM_APP+11)

#define WM_THREAD_START			(WM_APP+13)
#define WM_THREAD_EXIT			(WM_APP+14)
//#define WM_UPDATA_STATUS_BAR	(WM_APP+15)

enum TASK_TYPE
{
	TASK_PRINT,
	TASK_VOID,
};

enum TASK_STATE
{
	TASK_NEW,
	TASK_STARTED,
	TASK_DONE_SUCCESS,
	TASK_DONE_FAILED,
};

enum UPDATE_DATA_TYPE
{
	DATA_FREQ_OFFSET,
	DATA_IQ_IMBALANCE_PHASE,
	DATA_IQ_IMBALANCE_AMP,
	DATA_SNR,
	DATA_DC_I,
	DATA_DC_Q,
};


